package com.jsmile.cloud.taskcenter.api.constants;

/**
 * 任务常量
 *
 * @author 龚亮
 */
public interface TaskConstants extends java.io.Serializable {

    /**
     * 服务名
     */
    String APPLICATION_NAME = "taskcenter";

    class TASK {
        /**
         * 任务调度常量
         */
        public static final String SCHEDULE_JOB = "jsmileScheduleJob";
        public static final String JOB_DATA_MAP = "jsmile_job_data_map";

        /**
         * 任务暂停
         */
        public static final int STATUS_STOP = 0;
        /**
         * 任务正常
         */
        public static final int STATUS_NORMAL = 1;
    }
}
